package great.project.bean.beanImplementationProcess;

public class Main {
	public static void main(String[] args) {
		new B();
	}
}

class A {
	{
		System.out.println("a:代码块");
	}

	static {
		System.out.println("a:静态代码块");
	}

	public A() {
		System.out.println("A:构造方法");
	}
}

class B extends A {
	{
		System.out.println("B:代码块");
	}

	static {
		System.out.println("B:静态代码块");
	}

	public B() {
		System.out.println("B:构造方法");
	}
}